package com.hxzy.boot.old.requestcontroller;

import com.hxzy.boot.pojo.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzm
 * @create 2023-09-23 9:12
 * project_name:javaweb2308
 */
@RestController
public class RequestController02 {

    //1.测试使用实体接收多个匹配参数
    @RequestMapping("/request02")
    public String req02(User user){
        System.out.println("user = " + user);
        return "ok!!!";
    }


}
